﻿/*!
 *  版权所有(C) 2021 ToolGood(林知君)
 *  GPLv3 License - http://www.gnu.org/licenses/gpl-3.0.html  
 */
using Microsoft.AspNetCore.Builder;

namespace ToolGood.WebCommon
{
    public static class MiddlewareExtensions
    {
        public static IApplicationBuilder UseIpFirewall(this IApplicationBuilder builder)
        {
            return builder.UseMiddleware<IpFirewallMiddleware>();
        }
    }


 

 

}
